<template>
  <div class="atview">
    <AtItem v-for="item in AtArrList" :key="item.id" :AtallObj="item"></AtItem>
  </div>
</template>

<script>
import AtItem from '@/components/AtItem'
import { artAxios } from '@/network/indexAxios'
export default {
  components: {
    AtItem
  },
  data () {
    return {
      AtArrList: []
    }
  },
  mounted () {
    this.getArData()
  },
  methods: {
    getArData () {
      artAxios().then(res => {
        console.log(res.data)
        this.AtArrList = res.data
      })
    }
  }
}
</script>

<style lang="less" scoped>
.atview{
  padding:0.6rem 0.3rem
}
</style>
